3D Graphics Programming with QuickDraw 3D 1.5.4
Previous | QD3D Book | Overview | Chapter Contents | Next
A line is a straight segment in three-dimensional space defined by its two endpoints, with an optional set of attributes. (In addition, each vertex can have a set of attributes.) A line is defined by the TQ3LineData data type. See "Creating and Editing Lines" for a description of the routines you can use to create and edit lines. Figure 19 shows a line.
typedef struct TQ3LineData {
TQ3Vertex3D vertices[2];
TQ3AttributeSet lineAttributeSet;
} TQ3LineData;
Previous | QD3D Book | Overview | Chapter Contents | Next